<?php 

class User extends Users{
    static function getName($id){
        $name = Users::model()->findByPk($id);
        return $name->name;
    }
    static function getCode($id){
        $name = Users::model()->findByPk($id);
        return $name->username;
    }
    
    static function getBirthday($id){
        $name = Users::model()->findByPk($id);
        return $name->user_ngaysinh;
    }
    static function getNoiSinh($id){
        $name = Users::model()->findByPk($id);
        return $name->user_noisinh;
    }
}

?>